package com.poizon.infrastructure.idem.starter.mongodb;


import com.poizon.infrastructure.idem.core.domain.entity.IdemEntity;
import com.poizon.infrastructure.idem.core.repo.IIdemDbStoreRepo;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.data.mongodb.core.MongoTemplate;

import java.util.concurrent.TimeUnit;

@Slf4j
@AllArgsConstructor
public class MongodbIIdemDbStoreRepo implements IIdemDbStoreRepo {
    private MongoTemplate mongoTemplate;

    @Override
    public Boolean updateIdemResp(String idemKey, IdemEntity updateRespIdemDto, Long expireTime, TimeUnit timeUnit) {
        return false;
    }

    @Override
    public Boolean setIdemKey(String idemKey, IdemEntity emptyRespIdemDto, Long expireTime, TimeUnit timeUnit) {
        return null;
    }

    @Override
    public IdemEntity getIdemDto(String idemKey) {
        return null;
    }

    @Override
    public Boolean delete(String idemKey) {

        return null;
    }
}
